<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>aa</div>
<script>
    //Math.min(a,b);
    function myMin(x,y){    //形参
        if (x>y){
            return y;
        } else {
            return x;
        }
    }

    var c = myMin(10,3);    //实参，有值的东西，表达式
    var a = 4;
    var b = 6;
    var c = myMin(a,b);    //实参，有值的东西，表达式
    console.log(c);
    var c = myMin(a+5,b);    //实参，有值的东西，表达式
    console.log(c);


</script>
</body>
</html>